package com.baowenli.mapper;

import com.baowenli.pojo.OrderType;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.ResultMap;

import java.util.List;

public interface HandleHouseMapper {

    /**
     * 添加住房人员信息
     */
    @ResultMap("brandResultMap")
    @Insert("INSERT INTO user_info VALUES (#{id}, #{name}, #{sex}, #{phone} " +
            ", #{idCards}," +
            "now(),#{address});")
    int InsertHomePeopleInfo(@Param("id") int id,@Param("name") String name,@Param("sex") String gender,
                             @Param("phone") String phone,
                             @Param("address") String address,
                             @Param("idCards") String idCards);
}
